//
//  ActCustomTableViewCell.m
//  ActSistant
//
//  Created by Loan Dinh on 2/25/13.
//

#import "ActCustomTableViewCell.h"

@implementation ActCustomTableViewCell
@synthesize cellMainLabel, cellProgressView, cellSubLabel,cellLeftLabel, cellRightLabel;
- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Initialization code
        cellLeftLabel = [[UILabel alloc] init];
        [self.contentView addSubview:cellLeftLabel];
        
        cellRightLabel = [[UILabel alloc] init];
        [self.contentView addSubview:cellRightLabel];
        
        cellSubLabel = [[UILabel alloc] init];
        [self.contentView addSubview:cellSubLabel];
        
        cellProgressView = [[UIProgressView alloc] init];
        [self.contentView addSubview:cellProgressView];
        
        cellMainLabel = [[UILabel alloc] init];
        [self.contentView addSubview:cellMainLabel];
        
    }
    return self;
}
-(void)dealloc{
    [cellLeftLabel release];
    [cellRightLabel release];
    [cellSubLabel release];
    [cellProgressView release];
    [cellMainLabel release];
    [super dealloc];
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
-(void)layoutSubviews{
    [super layoutSubviews];
}
@end
